<template>
  <div class="box">
    <div class="header"><van-icon name="arrow-left" @click="$router.back" />上传日志</div>
    <van-uploader v-model="fileList" @after-read="afterRead" />
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

let fileList = ref([]);

function afterRead(file:any) {
  
}
</script>

<style scoped>

.header {
    .van-icon {
        position: fixed;
        left: 10px;
        top: 15px;
        font-size: 20px;
    }
}
</style>